package test.ground.cotroller;

import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author wangshaopeng
 * @Date 2021/1/9
 */
@RequestMapping("/type")
public class TypeC {


    @RequestMapping("/s")
    public String er(String s){
        return s;
    }


    @RequestMapping("/i")
    public int i(int i){
        return i;
    }

    @RequestMapping("/I")
    public Integer i(Integer i){
        return i;
    }

    @RequestMapping("/d")
    public double d(double d){
        return d;
    }

    @RequestMapping("/D")
    public Double d(Double d){
        return d;
    }

    @RequestMapping("/b")
    public boolean B(boolean b){
        return b;
    }

    @RequestMapping("/B")
    public Boolean B(Boolean b){
        return b;
    }

    @RequestMapping("/v")
    public Void v(){
        return null;
    }

}
